<!DOCTYPE>
<html>
<head>
<!-- 浏览器中显示自己的图表-->
<link rel="icon" href="../img/coco.png" type="image/x-icon" />
<link rel="shortcut icon" href="../img/coco.png" type="image/x-icon" />
<title>vue.js demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="vue.js学习" />
<script src="https://cdn.bootcss.com/vue/2.4.2/vue.min.js"></script>
</head>
    <body>
        <div>
            <audio controls autoplay="autopaly">
                <source src="renxi.mp3" type="audio/mp3" />
            </audio>
        </div>

    	<div id="app">
            <div v-if="random > 0.5">
                Sorry Math.random = {{ random }}
            </div>
            <div v-else>
                Not sorry Math.random = {{ random }}
            </div>
      </div>

      <script>
        new Vue({
          el:'#app',
          data:{
            name:'value',
            random:Math.random()
          }
        })
      </script>
    </body>
</html>
